package com.snake.vargoappstore.db;


import android.graphics.drawable.Drawable;

public class LocalAppInfo {
    private Drawable mIcon ;
    private CharSequence mName ;
    private String mPackageName;
    private int mVersionCode;
    private String mVersionName;
    private int mFlag;

    public LocalAppInfo(Drawable icon, CharSequence name, String packageName, int versionCode, String versionName, int flag) {
        mIcon = icon;
        mName = name;
        mPackageName = packageName;
        mVersionCode = versionCode;
        mVersionName = versionName;
        mFlag = flag;
    }

    public Drawable getIcon() {
        return mIcon;
    }

    public void setIcon(Drawable icon) {
        mIcon = icon;
    }

    public CharSequence getName() {
        return mName;
    }

    public void setName(CharSequence name) {
        mName = name;
    }

    public String getPackageName() {
        return mPackageName;
    }

    public void setPackageName(String packageName) {
        mPackageName = packageName;
    }

    public int getVersionCode() {
        return mVersionCode;
    }

    public void setVersionCode(int versionCode) {
        mVersionCode = versionCode;
    }

    public String getVersionName() {
        return mVersionName;
    }

    public void setVersionName(String versionName) {
        mVersionName = versionName;
    }

    public int getFlag() {
        return mFlag;
    }

    public void setFlag(int flag) {
        mFlag = flag;
    }

    @Override
    public String toString() {
        return "LocalAppInfo{" +
                "mIcon=" + mIcon +
                ", mName=" + mName +
                ", mPackageName='" + mPackageName + '\'' +
                ", mVersionCode=" + mVersionCode +
                ", mVersionName='" + mVersionName + '\'' +
                ", mFlag=" + mFlag +
                '}';
    }
}
